package com.hospital.workstation.domain.vo;

import java.time.LocalDateTime;
import java.util.Date;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
import com.alibaba.excel.annotation.ExcelProperty;
import com.hospital.common.annotation.ExcelDictFormat;
import com.hospital.common.convert.ExcelDictConvert;
import lombok.Data;

import java.util.Date;


/**
 * 用药咨询视图对象 hospital_medication_advisory
 *
 * @author whb
 * @date 2023-02-21
 */
@Data
@ExcelIgnoreUnannotated
public class MedicationAdvisoryVo {

    private static final long serialVersionUID = 1L;

    /**
     * 用药咨询ID
     */
    @ExcelProperty(value = "用药咨询ID")
    private Long id;

    /**
     * 病历号
     */
    private Integer medicalRecordNo;

    /**
     * 用户姓名
     */
    @ExcelProperty(value = "用户姓名")
    private String userName;

    /**
     * 类别（1医生 2护士 3患者）
     */
    @ExcelProperty(value = "类别", converter = ExcelDictConvert.class)
    @ExcelDictFormat(readConverterExp = "1=医生,2=护士,3=患者")
    private String category;

    /**
     * 类别名称
     */
    private String categoryStr;

    /**
     * 咨询内容
     */
    @ExcelProperty(value = "咨询内容")
    private String advisoryContent;

    /**
     * 咨询时间
     */
    @ExcelProperty(value = "咨询时间")
    private LocalDateTime advisoryTime;

    /**
     * 接收人ID
     */
    @ExcelProperty(value = "接收人ID")
    private Long receiveManId;

    /**
     * 接收人姓名
     */
    private String receiveManName;

    /**
     * 接受时间
     */
    @ExcelProperty(value = "接受时间")
    private LocalDateTime receiveTime;

    /**
     * 是否处理
     */
    private String isDispose;

    /**
     * 处理内容
     */
    @ExcelProperty(value = "处理内容")
    private String disposeContent;

    /**
     * 处理时间
     */
    @ExcelProperty(value = "处理时间")
    private LocalDateTime disposeTime;


}
